import $ajax from '../ajax'

const { get, post, put } = $ajax;

const baseUrl = 
"https://tangtianfeng.cn:7443/client/";


export default {
    login(data) {
      return post(`${baseUrl}login`, data);
    },
  
    getUser() {
      return get(`${baseUrl}getUserInfo`);
    },
}